package demo3;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class demo
{
    public static void main(String[] args)
    {
        AnnotationConfigApplicationContext an=new AnnotationConfigApplicationContext("demo3");
        person p=an.getBean(person.class);
        p.play();
    }
}
